Job: core (rust-2)
Runner: g1t, Linux X64 (Debian bookworm, Node 24, Python 3, Go, Rust)
Matrix: {"group":"rust-2","units":"identity,search,webhooks,security","rust":true,"image":false}
##[group]G1T_TOKEN permissions
contents: read
metadata: read
##[endgroup]
Checking out flagon-io/g1t into /home/runner/work/repo
[command]git init --quiet
[command]git remote add origin https://g1t.sh/flagon-io/g1t.git
[command]git fetch --no-tags --prune --quiet origin refs/heads/main
[command]git checkout --quiet --force -B main 58dd85e81fd8b3dd5339ff41223c6c71e3b50095
Checked out 58dd85e81fd8b3dd5339ff41223c6c71e3b50095
##[group]Rust for Workers
rustup target add wasm32-unknown-unknown
##[endgroup]
shell: bash -e /home/runner/_temp/18ddc123c4d0b4ad.sh
info: component rust-std for target wasm32-unknown-unknown is up to date
Cache restored from key: worker-build-Linux-20198271f2bfa646f90a27111263b0637937fdecf1b000ed47c7554968c64152 (2.6 MB in 0.4s)
Cache restored from key: worker-build-tools-Linux-20198271f2bfa646f90a27111263b0637937fdecf1b000ed47c7554968c64152 (115.2 MB in 4.8s)
Cache restored from key: cargo-crates-Linux-f9437572d523fab422c6790fa14184299f4dcdbe7430863b1699525f9c8c3272 (65.0 MB in 2.4s)
Cache restored from key: cargo-target-Linux-rust-2-e739dd1792513caa6aaec120c2743c9d9a899a4c24b1adbc17a7a3acd72f2d2c (180.7 MB in 8.5s)
##[group]sccache
bash scripts/sccache.sh install
##[endgroup]
shell: bash -e /home/runner/_temp/18dec1283944dfda.sh
sccache: Starting the server...
sccache: Listening on address 127.0.0.1:4226
sccache 0.18.0: rustc goes through it from here on, cached in this repository's Actions cache.
##[group]Install
node scripts/deploy.mjs install --only "identity,search,webhooks,security"
##[endgroup]
shell: bash -e /home/runner/_temp/18dfc128c76a8726.sh
npm ci --no-audit --no-fund --workspaces=false

added 37 packages in 12s
npm warn install-scripts 2 packages have install scripts not yet covered by allowScripts:
npm warn install-scripts   esbuild@0.28.1 (postinstall: node install.js)
npm warn install-scripts   workerd@1.20261001.1 (postinstall: node install.js)
npm warn install-scripts
npm warn install-scripts Run `npm install-scripts ls` to review, or `npm install-scripts approve <pkg>` to allow.
##[group]Deploy identity,search,webhooks,security
node scripts/deploy.mjs deploy --only "identity,search,webhooks,security" --force --no-migrations --concurrency 2
##[endgroup]
shell: bash -e /home/runner/_temp/18d8c12c38896aaa.sh
Deploying 58dd85e81fd8 (Merge invite emails that confirm the address: the emailed link carries a proof only that email has, so signing up from it needs no code; shared links and typed codes still confirm)

unit      stage  action  live          migrations  why
--------  -----  ------  ------------  ----------  ----------------------------------------------------------------------
identity  core   deploy  fe7d2329374f  -           8 changed files (services/identity/src/access.rs)
search    core   deploy  fe7d2329374f  -           1 changed file (crates/contracts/src/identity.rs via crates/contracts)
webhooks  core   deploy  fe7d2329374f  -           1 changed file (crates/contracts/src/identity.rs via crates/contracts)
security  core   deploy  fe7d2329374f  -           1 changed file (crates/contracts/src/identity.rs via crates/contracts)

4 to deploy: core (identity, search, webhooks, security)
== core: identity, search, webhooks, security
[search]  ⛅️ wrangler 4.146.0
[search] ────────────────────
[search] [custom build] Running: node ../../scripts/build-rust-worker.mjs
[identity]  ⛅️ wrangler 4.146.0
[identity] ────────────────────
[identity] [custom build] Running: node ../../scripts/build-rust-worker.mjs
[identity] [custom build] [INFO]: Checking for the Wasm target...
[identity] [custom build] 
[search] [custom build] [INFO]: Checking for the Wasm target...
[search] [custom build] 
[identity] [custom build] [INFO]: Compiling to Wasm...
[identity] [custom build] 
[search] [custom build] [INFO]: Compiling to Wasm...
[search] [custom build] 
[search] [custom build]     Blocking waiting for file lock on package cache
[search] [custom build] 
[identity] [custom build]     Blocking waiting for file lock on package cache
[identity] [custom build] 
[search] [custom build]     Blocking waiting for file lock on package cache
[search] [custom build] 
[identity] [custom build]     Blocking waiting for file lock on package cache
[identity] [custom build] 
[search] [custom build]     Blocking waiting for file lock on package cache
[search] [custom build] 
[identity] [custom build]     Blocking waiting for file lock on package cache
[identity] [custom build] 
[search] [custom build]     Blocking waiting for file lock on build directory
[search] [custom build] 
[identity] [custom build]    Compiling g1t-contracts v0.1.0 (/home/runner/work/repo/crates/contracts)
[identity] [custom build] 
[identity] [custom build]    Compiling g1t-secrets v0.1.0 (/home/runner/work/repo/crates/secrets)
[identity] [custom build] 
[identity] [custom build]    Compiling g1t-kit v0.1.0 (/home/runner/work/repo/crates/kit)
[identity] [custom build] 
[identity] [custom build]    Compiling g1t-identity v0.1.0 (/home/runner/work/repo/services/identity)
[identity] [custom build] 
[identity] [custom build]     Finished `release` profile [optimized] target(s) in 43.37s
[identity] [custom build] 
[search] [custom build]    Compiling g1t-search v0.1.0 (/home/runner/work/repo/services/search)
[search] [custom build] 
[identity] [custom build] [INFO]: Optimizing wasm binaries with `wasm-opt`...
[identity] [custom build] 
[identity] [custom build] [INFO]: :-)Done in 49.95s
[identity] [custom build] [INFO]: :-) Your wasm pkg is ready to publish at /home/runner/work/repo/services/identity/build/.tmp.
[identity] [custom build] 
[identity] [custom build] 
[identity] [custom build]   index.js  27.7kb
[identity] [custom build] 
[identity] [custom build] ⚡ Done in 24ms
[identity] [custom build] 
[identity] Total Upload: 4487.21 KiB / gzip: 1081.40 KiB
[identity] Worker Startup Time: 9 ms
[identity] Your Worker has access to the following bindings:
[identity] Binding                                                             Resource                  
[identity] env.AVATARS (e627b571f07047e187c03e1fc2b3bbdd)                      KV Namespace              
[identity] env.EMAIL (unrestricted)                                            Send Email                
[identity] env.DB (g1t)                                                        D1 Database               
[identity] env.EVENTS (g1t-events)                                             Worker                    
[identity] env.REPOS (g1t-repos)                                               Worker                    
[identity] env.PROJECTS (g1t-projects)                                         Worker                    
[identity] env.BILLING (g1t-billing)                                           Worker                    
[identity] env.PROTECTED_WORKSPACES ("flagon-io")                              Environment Variable      
[identity] env.PROTECTED_ACCOUNTS ("")                                         Environment Variable      
[identity] env.GITHUB_APP_CLIENT_ID ("Iv23liZS94alfjIUn1eW")                   Environment Variable      
[identity] env.REGISTRATION_MODE ("invite")                                    Environment Variable      
[identity] env.INVITES_PER_USER ("5")                                          Environment Variable      
[identity] env.INVITE_TTL_DAYS ("30")                                          Environment Variable      
[identity] env.INVITE_STAFF_WORKSPACES ("flagon-io")                           Environment Variable      
[identity] env.WAITLIST_NOTIFY_EMAIL ("hey@flagon.io")                         Environment Variable      
[identity] Uploaded g1t-identity (2.52 sec)
[identity] Deployed g1t-identity triggers (0.52 sec)
[identity]   schedule: */15 * * * *
[identity] Current Version ID: a24a9967-1e99-442f-8b81-238086f94ce5
[search] [custom build]     Finished `release` profile [optimized] target(s) in 55.90s
[search] [custom build] 
[webhooks]  ⛅️ wrangler 4.146.0 (update available 4.149.0)
[webhooks] ───────────────────────────────────────────────
[webhooks] [custom build] Running: node ../../scripts/build-rust-worker.mjs
[webhooks] [custom build] [INFO]: Checking for the Wasm target...
[webhooks] [custom build] 
[search] [custom build] [INFO]: Optimizing wasm binaries with `wasm-opt`...
[search] [custom build] 
[webhooks] [custom build] [INFO]: Compiling to Wasm...
[webhooks] [custom build] 
[webhooks] [custom build]    Compiling
[webhooks] [custom build]  g1t-webhooks v0.1.0 (/home/runner/work/repo/services/webhooks)
[webhooks] [custom build] 
[search] [custom build] [INFO]: :-)Done in 57.60s
[search] [custom build] [INFO]: :-) Your wasm pkg is ready to publish at /home/runner/work/repo/services/search/build/.tmp.
[search] [custom build] 
[search] [custom build] 
[search] [custom build]   index.js  26.7kb
[search] [custom build] 
[search] [custom build] ⚡ Done in 18ms
[search] [custom build] 
[search] Total Upload: 1650.22 KiB / gzip: 387.37 KiB
[search] Worker Startup Time: 3 ms
[search] Your Worker has access to the following bindings:
[search] Binding                          Resource         
[search] env.JOBS (inherited)             Queue            
[search] env.DB (g1t-search)              D1 Database      
[search] env.IDENTITY (g1t-identity)      Worker           
[search] env.REPOS (g1t-repos)            Worker           
[search] env.WORK (g1t-work)              Worker           
[search] env.BILLING (g1t-billing)        Worker           
[search] Uploaded g1t-search (2.05 sec)
[search] Deployed g1t-search triggers (1.13 sec)
[search]   Producer for g1t-search-jobs
[search]   Consumer for g1t-events-search
[search]   Consumer for g1t-search-jobs
[search] Current Version ID: 53504432-95b4-4b28-ae00-2e72338010e1
[webhooks] [custom build]     Finished `release` profile [optimized] target(s) in 6.87s
[webhooks] [custom build] 
[security]  ⛅️ wrangler 4.146.0 (update available 4.149.0)
[security] ───────────────────────────────────────────────
[security] [custom build] Running: node ../../scripts/build-rust-worker.mjs
[webhooks] [custom build] [INFO]: Optimizing wasm binaries with `wasm-opt`...
[webhooks] [custom build] 
[security] [custom build] [INFO]: Checking for the Wasm target...
[security] [custom build] 
[security] [custom build] [INFO]: Compiling to Wasm...
[security] [custom build] 
[security] [custom build] 
[webhooks] [custom build] [INFO]: :-)Done in 8.35s
[webhooks] [custom build] [INFO]: :-) Your wasm pkg is ready to publish at /home/runner/work/repo/services/webhooks/build/.tmp.
[webhooks] [custom build] 
[security] [custom build]    Compiling g1t-contracts v0.1.0 (/home/runner/work/repo/crates/contracts)
[security] [custom build] 
[security] [custom build]    Compiling g1t-scan v0.1.0 (/home/runner/work/repo/crates/scan)
[security] [custom build]    Compiling g1t-actions v0.1.0 (/home/runner/work/repo/crates/actions)
[security] [custom build] 
[webhooks] [custom build] 
[webhooks] [custom build]   index.js  27.6kb
[webhooks] [custom build] 
[webhooks] [custom build] ⚡ Done in 28ms
[webhooks] [custom build] 
[webhooks] Total Upload: 1043.71 KiB / gzip: 261.67 KiB
[webhooks] Worker Startup Time: 9 ms
[webhooks] Your Worker has access to the following bindings:
[webhooks] Binding                          Resource         
[webhooks] env.DB (g1t-webhooks)            D1 Database      
[webhooks] env.REPOS (g1t-repos)            Worker           
[webhooks] env.IDENTITY (g1t-identity)      Worker           
[webhooks] Uploaded g1t-webhooks (1.66 sec)
[webhooks] Deployed g1t-webhooks triggers (1.09 sec)
[webhooks]   schedule: * * * * *
[webhooks]   schedule: 37 * * * *
[webhooks]   Consumer for g1t-events-webhooks
[webhooks] Current Version ID: 4c8f86c1-f5a0-4fc2-97ef-7852f65b25ec
[security] [custom build]    Compiling g1t-kit v0.1.0 (/home/runner/work/repo/crates/kit)
[security] [custom build] 
[security] [custom build]    Compiling g1t-security v0.1.0 (/home/runner/work/repo/services/security)
[security] [custom build] 
[security] [custom build]     Finished `release` profile [optimized] target(s) in 1m 34s
[security] [custom build] 
[security] [custom build] [INFO]: Optimizing wasm binaries with `wasm-opt`...
[security] [custom build] 
[security] [custom build] [INFO]: :-)Done in 1m 40s
[security] [custom build] [INFO]: :-) Your wasm pkg is ready to publish at /home/runner/work/repo/services/security/build/.tmp.
[security] [custom build] 
[security] [custom build] 
[security] [custom build]   index.js  27.4kb
[security] [custom build] 
[security] [custom build] ⚡ Done in 14ms
[security] [custom build] 
[security] Total Upload: 5626.85 KiB / gzip: 1439.97 KiB
[security] Worker Startup Time: 4 ms
[security] Your Worker has access to the following bindings:
[security] Binding                              Resource                  
[security] env.DB (g1t-security)                D1 Database               
[security] env.IDENTITY (g1t-identity)          Worker                    
[security] env.REPOS (g1t-repos)                Worker                    
[security] env.WORK (g1t-work)                  Worker                    
[security] env.RUNNER (g1t-runner)              Worker                    
[security] env.BILLING (g1t-billing)            Worker                    
[security] env.ACTIONS (g1t-actions)            Worker                    
[security] env.EVENTS (g1t-events)              Worker                    
[security] env.SITE_URL ("https://g1t.sh")      Environment Variable      
[security] Uploaded g1t-security (3.16 sec)
[security] Deployed g1t-security triggers (1.17 sec)
[security]   schedule: */30 * * * *
[security]   schedule: */5 * * * *
[security]   Consumer for g1t-events-security
[security] Current Version ID: 214c0e83-c30e-49e7-a6e8-5dec57aca5eb

unit      stage  result  version                               time    note
--------  -----  ------  ------------------------------------  ------  ----
identity  core   ok      a24a9967-1e99-442f-8b81-238086f94ce5  72.7s
search    core   ok      53504432-95b4-4b28-ae00-2e72338010e1  80.4s
webhooks  core   ok      4c8f86c1-f5a0-4fc2-97ef-7852f65b25ec  14.6s
security  core   ok      214c0e83-c30e-49e7-a6e8-5dec57aca5eb  108.5s

Deployed in 190.0s.
##[group]sccache's hits and misses
bash scripts/sccache.sh stats
##[endgroup]
shell: bash -e /home/runner/_temp/18d9c1589a5cd5b3.sh
Compile requests                      18
Compile requests executed              7
Cache hits                             2
Cache hits (Rust)                      2
Cache misses                           5
Cache misses (Rust)                    5
Cache hits rate                    28.57 %
Cache hits rate (Rust)             28.57 %
Cache timeouts                         0
Cache read errors                      0
Forced recaches                        0
Cache write errors                     0
Cache errors                           0
Compilations                           5
Compilation failures                   0
Non-cacheable compilations             0
Non-cacheable calls                   11
Non-compilation calls                  0
Unsupported compiler calls             0
Average cache write                2.159 s
Average compiler                  10.558 s
Average cache read hit             0.850 s
Failed distributed compilations        0

Non-cacheable reasons:
-                                      4
crate-type                             4
missing input                          3

Cache location                  ghac, name: sccache-v0.18.0, prefix: /sccache/
Base directories                (none)
Version (client)                0.18.0
